# -*- coding: utf-8 -*-
#!/usr/bin/env python




from PyQt4 import QtCore, QtGui
try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s
from mainwindow import main
from ui_jcw import Ui_jcw
from ui_bd import Ui_bdw
from ui_checking import Ui_checking
class sysmangermain(main):
    
    def __init__(self, parent=None):
        super(main, self).__init__(parent)
        self.setupUi(self)
        self.setWindowFlags(QtCore.Qt.FramelessWindowHint)
        self.bdw = QtGui.QWidget()
        self.bdwui=Ui_bdw()
        self.bdwui.setupUi(self.bdw)
        self.bdw.setObjectName(_fromUtf8("bdw"))
        self.mainstackedWidget.addWidget(self.bdw)
        


        QtCore.QObject.connect(self.bdtbtn,QtCore.SIGNAL(_fromUtf8("clicked()")), self.bd)

        
        

    def bd(self):
        self.mainstackedWidget.setCurrentWidget(self.bdw)
    def checking(self):
        self.mainstackedWidget.setCurrentWidget(self.checkingw)
    def checkingjg(self):
        self.checkingui.stackedWidget.setCurrentWidget(self.checkingui.checkjg)

import qrc_rc
if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    windows =sysmangermain()
    windows.show()
    sys.exit(app.exec_())